import { UserRole } from '../../common/enums';

/**
 * Interface for the raw JWT token payload
 * This represents the actual data stored in the JWT token
 */
export interface JwtTokenPayload {
  sub: string;
  username: string;
  role: UserRole;
  deviceSerialNumber?: string; // Optional because admin users don't have a device
  sessionId: string;
  iat?: number; // Optional because we don't set it directly (added by JWT library)
  exp?: number; // Optional because we don't set it directly (added by JWT library)
}
